package com.gitee.mall.seckill.service;

import com.gitee.mall.seckill.to.SecKillSkuRedisTo;

import java.util.List;

public interface SeckillService {

    void uploadSeckillSkuLatest3Days();

    List<SecKillSkuRedisTo> getCurrentSeckillSkus();

    SecKillSkuRedisTo getSkuSeckillInfo(Long skuId, String sessionId);

    String secKill(String hashField, String sessionId, String token, Integer num) throws InterruptedException;

}
